package com.demo.caizi.biz;

import com.demo.caizi.aop.MetricsAction;
import com.demo.caizi.aop.TradingMetricsAction;
import com.demo.caizi.biz.domain.TradeInfo;
import org.springframework.stereotype.Service;

@Service
public class TradeService {

    @TradingMetricsAction(featureName = "tradeFunction", metricsName = "CaiZiFunction", verb = "trading", subVerb = "单笔转账")
    public void singleTrans(TradeInfo tradeInfo){

    }

    @TradingMetricsAction(featureName = "tradeFunction", metricsName = "CaiZiFunction", verb = "trading", subVerb = "批量转账")
    public void batcheTrans(TradeInfo tradeInfo){

    }
    @TradingMetricsAction(featureName = "tradeFunction", metricsName = "CaiZiFunction", verb = "trading", subVerb = "内部转账")
    public void innerTrans(TradeInfo tradeInfo){

    }

    @TradingMetricsAction(featureName = "tradeFunction", metricsName = "CaiZiFunction", verb = "trading", subVerb = "支付管理")
    public void management(){

    }
}
